let p1 = new Promise((resolve)=>{
    console.log('p1 start')
    setTimeout(()=>resolve('p1Result'),1000);
});
let p2 = new Promise((resolve)=>{
    console.log('p2 start')
    setTimeout(()=>resolve('p2Result'),2000);
});
let p3 = new Promise((resolve)=>{
    console.log('p3 start')
    setTimeout(()=>resolve('p3Result'),3000);
});
Promise.all([p1,p2,p3]).then(result=>{
  console.log(result)
})